package com.wsf.main.controller;

import com.wsf.main.common.ResultUtil;
import com.wsf.main.dto.AdminVO;
import com.wsf.main.dto.LoginDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;



@Slf4j
@RestController
@RequestMapping(value = "/api/v1/gateway")
@Api(tags = "登录类")
public class LoginController {

    /**
     * @Author: 王胜凡
     * @CreateTime: 2022/8/25  17:29
     * @Description: 登录
     * @Version: 1.0
//     */
    @PostMapping(value = "/login")
    @ApiOperation(value = "密码登录", notes = "密码登录")
    public ResultUtil<AdminVO> login(@RequestBody LoginDTO loginDTO) {

            return ResultUtil.success(new AdminVO());


    }



}
